package cn.powerone.scm.mapper;

import java.util.List;
import cn.powerone.scm.domain.ScmOrderReceivables;

/**
 * 回款Mapper接口
 * 
 * @author PowerOne
 * @date 2025-08-05
 */
public interface ScmOrderReceivablesMapper 
{
    /**
     * 查询回款
     * 
     * @param id 回款主键
     * @return 回款
     */
    public ScmOrderReceivables selectScmOrderReceivablesById(Long id);

    /**
     * 查询回款列表
     * 
     * @param scmOrderReceivables 回款
     * @return 回款集合
     */
    public List<ScmOrderReceivables> selectScmOrderReceivablesList(ScmOrderReceivables scmOrderReceivables);

    /**
     * 新增回款
     * 
     * @param scmOrderReceivables 回款
     * @return 结果
     */
    public int insertScmOrderReceivables(ScmOrderReceivables scmOrderReceivables);

    /**
     * 修改回款
     * 
     * @param scmOrderReceivables 回款
     * @return 结果
     */
    public int updateScmOrderReceivables(ScmOrderReceivables scmOrderReceivables);

    /**
     * 删除回款
     * 
     * @param id 回款主键
     * @return 结果
     */
    public int deleteScmOrderReceivablesById(Long id);

    /**
     * 批量删除回款
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteScmOrderReceivablesByIds(Long[] ids);
}
